package com.pig.service;


import com.pig.pojo.CookBook;
import com.pig.util.SysResultLayui;

public interface MenuService {
    //PageObject<CookBook> findObject(String username, Integer pageCurrent);
    SysResultLayui<CookBook> findObject(Integer page, Integer limit);
    CookBook findObjectById(Integer id);

    void AddCookBook(CookBook cookBook);

    void deleteObjectById(Integer id);
}
